package com.java202411.contoller.authorization;

public class AuthorizationOfficer {
    private final static ThreadLocal<String> accessToken = new ThreadLocal<>();

    public static void setAccessToken(String token) {
        accessToken.set(token);
    }

    public static String getAccessToken() {
        return accessToken.get();
    }

    public static void removeAccessToken() {
        accessToken.remove();
    }
}
